package com.android.interfata;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;


public class Description extends Activity
{
	String description;
	protected void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);
		setContentView(R.layout.description);
		
		Intent i = getIntent();
		TextView txtProduct = (TextView) findViewById(R.id.about_content);        
        description= i.getStringExtra("description");
        if (description.length() < 10)
        	txtProduct.setText("We don't have a description for this product!");
        else
        	txtProduct.setText(description);
		
	}

}
